<?php /* Smarty version 3.1.27, created on 2016-10-16 04:41:03
         compiled from "C:\wamp\www\homework\winterboy\mvc\views\User\edit.html" */ ?>
<?php
/*%%SmartyHeaderCode:264825802e8bf81b0f1_72688345%%*/
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '9af0bc66915d17c732824d12b9256d402bee4a26' => 
    array (
      0 => 'C:\\wamp\\www\\homework\\winterboy\\mvc\\views\\User\\edit.html',
      1 => 1476585659,
      2 => 'file',
    ),
    '623756cf2daf280805395cb7c96de12236665a39' => 
    array (
      0 => 'C:\\wamp\\www\\homework\\winterboy\\mvc\\views\\User\\index.html',
      1 => 1476584539,
      2 => 'file',
    ),
    'efe2275f531f940e4841e0ae8f1da9b847c60c77' => 
    array (
      0 => 'efe2275f531f940e4841e0ae8f1da9b847c60c77',
      1 => 0,
      2 => 'string',
    ),
  ),
  'nocache_hash' => '264825802e8bf81b0f1_72688345',
  'variables' => 
  array (
    'title' => 0,
    'list' => 0,
    'v' => 0,
  ),
  'has_nocache_code' => false,
  'version' => '3.1.27',
  'unifunc' => 'content_5802e8bf988af2_58591251',
),false);
/*/%%SmartyHeaderCode%%*/
if ($_valid && !is_callable('content_5802e8bf988af2_58591251')) {
function content_5802e8bf988af2_58591251 ($_smarty_tpl) {

$_smarty_tpl->properties['nocache_hash'] = '264825802e8bf81b0f1_72688345';
?>
<!DOCTYPE html>
<html lang="cn">
<head>
    <meta charset="UTF-8">
    <title><?php echo $_smarty_tpl->tpl_vars['title']->value;?>
</title>
    <link rel="stylesheet" href="./public/css/bootstrap.min.css">
    <link rel="stylesheet" href="./public/my.css">
</head>
<body>
    <div class="container">
        <h1><span class="glyphicon glyphicon-user"></span> <?php echo $_smarty_tpl->tpl_vars['title']->value;?>
</h1>
        <div class="center-block mt20">
            <a href="./index.php?c=User&a=index" class="btn btn-info">首页</a>
            <a href="./index.php?c=User&a=add" class="btn btn-success">添加</a>
        </div>
        <?php
$_smarty_tpl->properties['nocache_hash'] = '264825802e8bf81b0f1_72688345';
?>

	<form action="./index.php?c=User&a=update" method="post" class="h3 mt20">
		<input type="hidden" name="id" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
">
		name: <input type="text" name="name" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['name'];?>
"><br>
		<input type="radio" name="sex" value="0"<?php if ($_smarty_tpl->tpl_vars['data']->value['sex'] == 0) {?>
		checked <?php }?>
		>女
		<input type="radio" name="sex" value="0"<?php if ($_smarty_tpl->tpl_vars['data']->value['sex'] == 1) {?>
		checked <?php }?>
		>男
		age: <input type="text" name="age" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['age'];?>
"><br>
		   province:
        <select name="province">
            <option value="江苏" <?php if ($_smarty_tpl->tpl_vars['data']->value['province'] == '江苏') {?>selected<?php }?> >江苏</option>
            <option value="上海" <?php if ($_smarty_tpl->tpl_vars['data']->value['province'] == '上海') {?>selected<?php }?> >上海</option>
            <option value="新疆" <?php if ($_smarty_tpl->tpl_vars['data']->value['province'] == '新疆') {?>selected<?php }?> >新疆</option>
            <option value="浙江" <?php if ($_smarty_tpl->tpl_vars['data']->value['province'] == '浙江') {?>selected<?php }?> >浙江</option>
            <option value="北京" <?php if ($_smarty_tpl->tpl_vars['data']->value['province'] == '北京') {?>selected<?php }?> >北京</option>
            <option value="深圳" <?php if ($_smarty_tpl->tpl_vars['data']->value['province'] == '深圳') {?>selected<?php }?> >深圳</option>
            <option value="纽约" <?php if ($_smarty_tpl->tpl_vars['data']->value['province'] == '纽约') {?>selected<?php }?> >纽约</option>
        </select><br><br>
        <input type="submit" value="提交">
	</form>

    </div><!--END container-->
    

    <?php echo '<script'; ?>
 src="./public/js/jquery.min.js"><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 src="./public/js/bootstrap.min.js"><?php echo '</script'; ?>
>
</body>
</html><?php }
}
?>